home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 08 - 1992 / 08.06 Oct 92 / One-Application Patches / defs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-08  |  493 b   |  22 lines  |  [TEXT/KAHL]

  1. #ifndef     NIL
  2. #define        NIL        0L
  3. #endif
  4.  
  5. typedef pascal long (*WDEF_proc)( short,
  6.     WindowPeek, short, long );
  7.  
  8. // OAPn resources are called after wNew messages
  9. typedef void (*OAPn_proc)( void );
  10.  
  11. // OAPd resources are called after wDraw messages
  12. typedef void (*OAPd_proc)( WindowPeek );
  13.  
  14. // OAPe resources are event filters
  15. typedef void (*OAPe_proc)( EventRecord *event );
  16.  
  17. typedef struct { // format of 'OAP1' resource
  18.     Boolean        wrap;
  19.     char            filler;
  20.     short            last_insertion_point;
  21. } Wrap_info;
  22.